package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.AdminRole;
import com.atguigu.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * @Author: 翟文海
 * @Date: 2022/11/2/002 15:26
 * @Version: 1.0
 * @Description:
 **/
public interface AdminRoleService extends BaseService<AdminRole> {
    Map<String, List<Role>> findRoleListMapByAdminId(Long id) ;

    void assignRole(Long adminId, List<Long> roleIds);
}
